QuickOPC User's Guide and Reference
AttributeData Property (UABaseVariable<TValue,TAttribute>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Modelling Namespace > UABaseVariable<TValue,TAttribute> Class : AttributeData Property
Contains the data value/timestamps/status code combination.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<DefaultValueAttribute()>
<MappingTagAttribute("OpcLabs.EasyOpc.UA.Modelling.VariableValue")>
<UADataAttribute(Kind=UADataMappingKind.ErrorCode Or  _
    UADataMappingKind.StatusInfo Or  _
    UADataMappingKind.AttributeData, 
   Operations=UADataMappingOperations.Read Or  _
    UADataMappingOperations.Subscribe Or  _
    UADataMappingOperations.ReadAndSubscribe)>
Public Property AttributeData As UAAttributeData(Of TValue)
'Usage
 
Dim instance As UABaseVariable(Of TValue,TAttribute)
Dim value As UAAttributeData(Of TValue)
 
instance.AttributeData = value
 
value = instance.AttributeData
[CanBeNull()]
[DefaultValue()]
[MappingTag("OpcLabs.EasyOpc.UA.Modelling.VariableValue")]
[UAData(Kind=UADataMappingKind.ErrorCode | 
    UADataMappingKind.StatusInfo | 
    UADataMappingKind.AttributeData, 
   Operations=UADataMappingOperations.Read | 
    UADataMappingOperations.Subscribe | 
    UADataMappingOperations.ReadAndSubscribe)]
public UAAttributeData<TValue> AttributeData {get; set;}
[CanBeNull()]
[DefaultValue()]
[MappingTag("OpcLabs.EasyOpc.UA.Modelling.VariableValue")]
[UAData(Kind=UADataMappingKind.ErrorCode | 
    UADataMappingKind.StatusInfo | 
    UADataMappingKind.AttributeData, 
   Operations=UADataMappingOperations.Read | 
    UADataMappingOperations.Subscribe | 
    UADataMappingOperations.ReadAndSubscribe)]
public:
property UAAttributeData<TValue^>^ AttributeData {
   UAAttributeData<TValue^>^ get();
   void set (    UAAttributeData<TValue^>^ value);
}
Requirements

Target Platforms: Windows 7 with SP1, Windows Server 2008 R2 with SP1

See Also

Reference

UABaseVariable<TValue,TAttribute> Class
UABaseVariable<TValue,TAttribute> Members